import request from '@/request/request.js'

// 登录请求
export const loginIn = (data) => {
  return request({
    method: 'POST',
    url: '/login/star',
    data
  })
}

// 注册请求
export const register = (data) => {
  return request({
    method: 'POST',
    url: '/unlogin/star',
    data
  })
}
